.submain {

}

.submain-nav {
  width: 90%;
  margin-left: 5%;
  display: flex;
  flex-flow: nowrap row;
  justify-content: space-around;
  align-items: center;
}

.submain-nav .logo {
  background: url(../assets/images/logo.png) no-repeat;
  background-size: contain;
  width: 14rem;
  height: 3.2rem;
}

.submain header {
  background: #535050;
}

.submain #hover {
  background: #222;
}

.submain header .submain-minMain {
  display: none;
}

.submain-nav ul {
  flex: 1;
}

.chosen {
  border-top: solid 2px rgba(0,223,252,1);
}

#menu {
  text-align: right;
  z-index: 1001;
}

#menu, #menu ul {
  list-style: none;
}

#menu > li {
  display: inline-block;
  position: relative;
  perspective: 1000px;
}

#menu > li:hover {
  border-top: solid 2px rgba(0,223,252,1);
}

#menu a {
  display: block;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 1);
  line-height: 4rem;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -.05em;
  background: transparent;
  transition: all .25s ease-in-out;
}

#menu > li:hover > a {
  /* background: #333; */
  background: rgba(51, 51, 51, 0.5);
  color: rgba(0,223,252,1);
  text-shadow: none;
}

#menu li ul  {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 200px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: transparent;
  overflow: hidden;
  transform-origin: 50% 0%;
}


#menu li:hover ul {
  
  padding: 15px 0;
  /* background: #333; */
  background: rgba(51, 51, 51, 0.8);
  opacity: 1;
  visibility: visible;
  animation-name: swingdown;
  animation-duration: .5s;
  animation-timing-function: ease;
}

@keyframes swingdown {
  0% {
    opacity: .99999;
    transform: rotateX(90deg);
  }

  30% {			
    transform: rotateX(-20deg) rotateY(5deg);
    animation-timing-function: ease-in-out;
  }

  65% {
    transform: rotateX(20deg) rotateY(-3deg);
    animation-timing-function: ease-in-out;
  }

  100% {
    transform: rotateX(0);
    animation-timing-function: ease-in-out;
  }
}

#menu li li a {
  padding-left: 15px;
  font-weight: 400;
  color: #ddd;
  text-shadow: none;
  border-top: dotted 1px transparent;
  border-bottom: dotted 1px transparent;
  transition: all .15s linear;
  line-height: 3rem;
}

#menu li li a:hover {
  color: rgba(0,223,252,1);
  border-top: dotted 1px rgba(255,255,255,.15);
  border-bottom: dotted 1px rgba(255,255,255,.15);
  background: rgba(0,223,252,.02);
}

@media only screen and (max-width: 62.5em) {
  header .submain-minMain {
    display: none;
  }
  #menu a {
    padding: 0;
    padding-left: 1rem;
    font-size: 1.4rem;
  }
  #menu li li {
    text-align: left;
  }
  #menu li ul  {
    width: 100px;
  }
}

@media only screen and (min-width: 37.5625em) and (max-width: 50em) {
  header .submain-minMain {
    display: none;
  }
  header .submain-nav {
    width: 90%;
    margin-left: 5%;
  }
  header .submain-nav .logo {
    width: 7rem;
    height: 1.6rem;
  }
  #menu li li {
    text-align: left;
  }
  #menu a {
    padding: 0;
    padding-left: 1rem;
    font-size: 1.2rem;
    /* line-height: 5rem; */
  }
  #menu li ul  {
    width: 100px;
  }
}

@media only screen and (max-width: 38.125em) {
  nav {
    margin-left: 0px;
  }
  .submain header .submain-nav {
    display: none;
  }
  .submain header .submain-minMain {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0.8rem 0;
  }
  .submain header .submain-minMain img {
    width: 30px;
    height: 30px;
    
  }
  .submain-minMain .logo {
    background: url(../assets/images/logo.png) no-repeat;
    background-size: contain;
    width: 14rem;
    height: 3.2rem;
  }
  .submain-minMain .menuDiv {
    flex: 1;
    text-align: right;
  }
  .submain header .submain-minMain {
    width: 90%;
    margin-left: 5%;
  }
  .submain header .submain-minMain .logo {
    width: 7rem;
    height: 1.6rem;
  }
}

.about-container {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-family: 'YouYuan';
}

.about-container .about {
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 1.4rem;
  width: 80%;
  margin: 0 auto;
  margin: 2rem auto;
  text-align: left;
}

@media only screen and (max-width: 38.125em) { 
  .about-container .about {
    font-size:1.6rem;
    width: 80%;
    margin: 0 auto;
    margin: 2rem auto;
  }
}



@font-face {
  font-family: 'ubuntubold';
  src: url('font/ubuntu-bold-webfont.woff2') format('woff2'),
       url('font/ubuntu-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'rajdhanimedium';
  src: url('font/rajdhani-medium-webfont.woff2') format('woff2'),
       url('font/rajdhani-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.contact-container {
  width: 60%;
  margin: 4rem auto;
  display: flex;
  justify-content: flex-start;
  flex-flow: row nowrap;
}

.contact-container .left {
  width: 28%;
  margin-right: 2%;
  border: solid 1px #AEAEAE;
  height: 30rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 37.5625em) { 
  .contact-container { 
    flex-flow: row wrap;
  }
  .contact-container .left {
    width: 100%;
    height: 10rem;
  }
}

@media only screen and (min-width: 37.5625em) and (max-width: 50em) { 
  .contact-container { 
    flex-flow: row wrap;
  }
  .contact-container .left {
    width: 100%;
    height: 10rem;
  }
}

.contact-container .left span{
  font-size: 1.8rem;
  display: none;
}

.contact-container .right {
  flex: 1;
  display: flex;
  justify-content: space-around;
  flex-flow: row wrap;
}

.contact-container .right .block {
  width: 48%;
  margin-right: 2%;
  margin-bottom: 2rem;
  height: 14rem;
  border: solid 1px #AEAEAE;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 37.5625em) { 
  .contact-container .right .block {
    width: 100%;
    margin-bottom: 0;
    height: 10rem;
  }
}

@media only screen and (min-width: 37.5625em) and (max-width: 50em) { 
  .contact-container .right .block {
    width: 100%;
    margin-bottom: 0;
    height: 10rem;
  }
}

.contact-container .right span {
  font-size: 1.8rem;
}

.mobile {
  background: url(../assets/images/mobile.png) no-repeat;
  background-position:center center;
  cursor: pointer;
}

.mobile:hover {
  background: #E6E5E7;
}

.mobile > span {
  display: none;
}

.mobile:hover > span {
  display: inline-block;
}

.telephone {
  background: url(../assets/images/telephone.png) no-repeat;
  background-position:center center;
}

.telephone:hover {
  background: #FEE0C5;
}

.telephone > span {
  display: none;
}

.telephone:hover > span {
  display: block;
}

.email {
  background: url(../assets/images/email.png) no-repeat;
  background-position:center center;
}

.email:hover {
  background: #CDCFFD;
}

.email > span {
  display: none;
}

.email:hover > span {
  display: block;
}

.wechat {
  background: url(../assets/images/wechatlogo.png) no-repeat;
  background-position:center center;
}

.wechat:hover {
  background: #D0FFC5;
}

.wechat > span {
  display: none;
}

.wechat:hover > span {
  display: block;
}

.qq {
  background: url(../assets/images/qq.png) no-repeat;
  background-position:center center;
}

.qq:hover {
  background: #FFCDF6;
}

.qq > span {
  display: none;
}

.qq:hover > span {
  display: block;
}

.description {
  font-size: 1.6rem;
  width: 80%;
  margin: 2rem auto;
  text-align: left;
}
.description span {
  display: block;
  text-align: center;
  font-size: 2rem;
  font-family: 'rajdhanimedium';
  background-color: #c1d9f3;
}

@media only screen and (max-width: 38.125em) { 
  .description {
    font-size: 1.8rem;
  }
  .description span {
    font-size: 2.4rem;
    font-family: 'ubuntubold';
  }
}

.product-sub-container {

}

.product-sub-container .title {
  font-family: 'ubuntubold';
  font-size: 4rem;
  text-align: center;
}

.product-sub-container .title_1 {
  font-family: 'ubuntu_lightregular';
}

.product-sub-container .title_2 {
  font-family: 'ubuntubold';
  font-size: 5rem;
}

.search {
  width: 60%;
  display: flex;
  justify-content: flex-start;
  flex-flow: row nowrap;
  align-items: center;
  margin: 2rem auto;
  position: relative;
  border: solid 1px #535050;
}

.search_focus {
  /* border: solid 2px #535050; */
  box-shadow: 2px 2px 2px #535050;
  /* border: solid 1px #509bf2; */
}

.search_textbox {
  flex: 1;
  height: 3rem;
  padding-left: 6rem;
  outline:none;
  color: #111;
  text-indent: 4px;
  font-size: 1.6rem;
  /* border: solid 1px #535050; */
  border: none;
}

/* .search_textbox:focus {
  border: solid 2px #535050;
  outline: none;
} */

.keyword {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  margin-right: 1rem;
  /* position: absolute;
  right: 12%; */
}

@media only screen and (max-width: 66.25em) {
  .keyword {
    display: none;
  }
}

.keyword a {
  border: solid 1px #E8E8E8;
  background: #E8E8E8;
  color: #A6A6A6;
  height: 2rem;
  display: inline-block;
  line-height: 2rem;
  margin-left: 1rem;
  padding: 0 0.3rem;
  border-radius: 2rem;
  cursor: pointer;
}

.search_btn {
  width: 10%;
  height: 3rem;
  background: #535050;
  color: #FFFFFF;
  font-weight: bold;
  border: none;
  font-size: 1.6rem;
  font-family: '微软雅黑';
}

@media only screen and (max-width: 43.75em) {
  .search_btn {
    width: 20%;
  }
  .search_textbox {
    padding-left: 0.5rem;
    font-size: 1.2rem;
  }
}

@font-face {
  font-family: 'ubuntu_lightregular';
  src: url('/css/font/ubuntu-light-webfont.woff2') format('woff2'),
       url('/css/font/ubuntu-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.hot-thumb {
  width: 70%;
  margin: 0 auto;
}

.hot-thumb .hot-thumb-container {
  display: flex;
  justify-content: space-around;
  flex-flow: row nowrap;
}

.hot-thumb .hot-thumb-container .hot-thumb-left {
  width: 30%;
  padding-top: calc(100% * 2 / 5);
  background: #666;
  margin-right: 2%;
}

.hot-thumb .hot-thumb-container .hot-thumb-right {
  width: 68%;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  align-content: space-between;
}

.hot-thumb .hot-thumb-container .hot-thumb-right .thumbs {
  width: 32%;
  height: 49%;
  background: #666;
}

.hot-thumb .hot-thumb-container .hot-thumb-right::after {
  content: '';
  width: 32%;
}

.hot-thumb .hot-thumb-container .hot-thumb-right .thumbs span {
  width: 100%;
  height: 20px;
  line-height: 20px;
  padding-left: 20px;
  font-size: 1.4rem;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  background: rgba(133, 133, 133, 0.7);
  color: white;
}

.certificate-container {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-family: 'YouYuan';
  text-align: center;
  margin-bottom: 20px;
}

.certificate-container .certificate-thumb {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row wrap;
  margin: 0 auto;
}
.certificate-container .certificate-thumb:after {
  content: "";
  width: 210px;
}

.certificate-container .certificate-thumb .certificate {
  border: solid 2px #D5D5D5;
  width: 200px;
  height: 240px;
  padding: 20px;
  margin-bottom: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-container .certificate-thumb .certificate img {
  width: 100%;
}

.certificate-container .certificate-thumb .certificate-active {
  border: solid 2px #EF7B7F;
}

.service-container {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-family: 'YouYuan';
  margin-bottom: 20px;
}

.news-container2 {
  width: 70%;
  text-align: center;
  margin: 0 auto;
  font-family: 'YouYuan';
  margin-bottom: 20px;
}

.news-right h6 {
  text-align: left;
}

.news-detail-container {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-family: 'YouYuan';
  margin-bottom: 20px;
}

.news-detail-container .news-detail-content p {
  text-align: left;
  font-size: 1.8rem;
  line-height: 3rem;
  text-indent: 4rem;
  word-wrap:break-word; 
  word-break:break-all; 
  padding: 4rem 0;
}

.news-detail-container .news-detail-content .news-detail-title {
  font-family: 'ubuntubold';
}

.news-detail-container .news-detail-content .news-detail-info {
  width: 100%;
  height: 3.6rem;
  background: #BDB1B1;
  color: #8D8D8D;
  text-align: left;
  margin-top: 3rem;
}
.popover-container {
  width: 180px;
  height: 360px;
  position: fixed;
  right: 0;
  top: 200px;
  display: flex;
  justify-content: flex-end;
  flex-flow: row nowrap;
}
.popover-container ul {
  background: rgba(102, 102, 102, 0.2);
}
.popover-container ul li {
  position: relative;
}
.popover-container ul li .icon {
  width: 60px;
  height: 60px;
  padding: 4px;
  cursor: pointer;
}
.popover-container ul li .icon:hover {
  background: #e1e1e1;
}

.icon-content {
  height: 60px;
  position: absolute;
  top: 0;
  right: 60px;
  font-size: 1.8rem;
  line-height: 60px;
  background: #e1e1e1;
  width: 200px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
}
.popover-container ul li:hover .icon-content {
  visibility: visible;
  opacity: 1;
}

.product-detail-container {
  width: 70%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

.product-detail-container .product-detail-content {
  word-wrap:break-word; 
  word-break:break-all; 
  padding: 4rem 0;
  width: 100%;
  text-align: center;
}

.product-detail-container .product-detail-content img {
  max-width: 100%;
}

.product-detail-container .product-detail-content .product-detail-title {
  font-family: 'ubuntubold';
}

.product-detail-container .product-detail-content .product-img {
  width: 50%;
}

.product-detail-container .product-detail-content .product-detail-info {
  width: 100%;
  height: 3.6rem;
  background: #BDB1B1;
  color: #8D8D8D;
  text-align: left;
  margin-top: 3rem;
}

.search-thumb {
  width: 70%;
  margin: 0 auto;
}

.search-thumb .search-thumb-container {
  display: flex;
  justify-content: flex-start;
  flex-flow: row wrap;
}

.search-thumb .search-thumb-container .thumbs {
  width: 24%;
  background: #666;
  margin-left: 1%;
  margin-bottom: 1%;
}

.search-thumb .search-thumb-container .thumbs:nth-child(4n-3){
  margin-left: 0%;
}

.search-thumb .search-thumb-container::after {
  content: '';
  width: 24%;
}

.search-thumb .search-thumb-container .thumbs span {
  width: 100%;
  height: 20px;
  line-height: 20px;
  padding-left: 20px;
  font-size: 1.4rem;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  background: rgba(133, 133, 133, 0.7);
  color: white;
}